package top.lyunz.fangkeji.mapper;

import java.util.List;

import top.lyunz.fangkeji.bean.TravelRecords;
import top.lyunz.fangkeji.bean.pageselect;
import top.lyunz.fangkeji.bean.timePeriodQuery;

public interface TravelRecordsMapper {
	int addTravelRecords(TravelRecords travelRecords);

	List<TravelRecords> getAlltravelRecords(int cid);

	List<TravelRecords> getAlltravelRecordsPage(pageselect pageselect);

	List<TravelRecords> getAllstrangerRecordsPage(pageselect pageselect);

	List<TravelRecords> getAllstrangerRecords(List<String> eSn);

	List<TravelRecords> getstrangerRecordsliketTime(String tTime);

	List<TravelRecords> gettravelRecordsLiketTime(TravelRecords records);

	List<TravelRecords> geTravelRecordsByUid(int uid);

	List<TravelRecords> getstrangerRecordslikeeName(String eSn);

	List<TravelRecords> geTravelRecordsPageByUid(pageselect pageselect);
	
	List<TravelRecords> geTravelRecordsByTimePeriod(timePeriodQuery periodQuery);
	
	List<TravelRecords> geTravelRecordsByTimePeriodPage(timePeriodQuery periodQuery);
	
}
